home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 6
/
Amiga Format AFCD06 (Nov 1996, Issue 90).iso
/
serious
/
shareware
/
workbench
/
recycler
/
example.script
< prev
next >
Wrap
Text File
|
1996-08-20
|
1KB
|
37 lines
;Recycler script for doing nightly backups.
;
;Written by S. Parkinson Jun 15/95 V1.09
;Released to the Public Domain Aug 15/96. All rights reserved.
;
;
CHANGETASKPRI -1 ;Script starts. Dropping pri saves CPU time.
FAILAT 30 ;Keeps script from failing from minor errors.
LAB Backup ;Label is defined for loop.
WAIT UNTIL 23:30 ;Defines when to do its thing.
CHANGETASKPRI 0 ;Change taskpri to higher setting.
;Copy all ZIP files from IBM Drive PC0 to BBS, then delete them from PC0.
copy PC0:*.ZIP DH0:Telefun/EMail all
delete PC0:*.ZIP
;Backup all received email messages for today.
copy dh0:AmiTCP-4.2/Simon LTS:Simon_BKP all
;Backup all Legends files.
copy dh0:LegendsDB to LTS:LDB_BKP all
;Now do all LZX file backups for various files and BBS.
lzx -Qf -x -r -bi256 -bo256 -3 u Project_X:ProjectX.lzx DH1:Project_X/#?
lzx -Qf -x -r -bi256 -bo256 -3 u LTS:TCS/TCS_Backup.lzx DH0:Legends/TCS/#?
lzx -Qf -x -r -bi256 -bo256 -3 u LTS:BBS/TL.lzx DH0:Telefun/#?
CHANGETASKPRI -1 ;Drop taskpri back down for inactive mode.
WAIT UNTIL 23:59 ;Wait for prescribed time to avoid time conflict.
SKIP Backup BACK ;Return to "LAB Backup" line.